import request from "@/utils/request";

// 价格确定-基本信息

/**
 * 房源列表接口
 * @param {*} data 
 */
export function house_list(data) {
    return request({
        url: '/gjyw.base_info/house_list',
        method: 'get',
        params: data
    })
}
export function houseAdd(data) {
    return request({
        url: '/gjyw.base_info/evaluate_add',
        method: 'post',
        data
    })
}
/**
 * 修改房源获取详情
 * @param {HID} data 
 */
export function getHouseUpdateDetail(data) {
    return request({
        url: '/gjyw.base_info/house_check_detail',
        method: 'get',
        params: data
    })
}
/**
 * 获取审核页面的列表数据
 * @param {HID} data 
 */
export function junduList(data) {
    return request({
        url: '/gjyw.base_info/jindu_list',
        method: 'get',
        params: data
    })
}
/**
 * 修改房源提交数据
 * @param {*} data 
 */
export function houseUpdate(data) {
    return request({
        url: '/gjyw.base_info/evaluate_update',
        method: 'post',
        data
    })
}
/**
 * 审核通过
 * @param {*} data 
 */
export function checkPass(data) {
    return request({
        url: '/gjyw.base_info/evaluate_review_pass',
        method: 'post',
        data
    })
}
/**
 * 审核驳回
 * @param {*} data 
 */
export function checkBack(data) {
    return request({
        url: '/gjyw.base_info/evaluate_review_reject',
        method: 'post',
        data
    })
}
/**
 * 业务转换
 * @param {HID，HBusinessType} data 
 */
export function turnSignIn(data) {
    return request({
        url: '/turn_business/turn_business',
        method: 'post',
        data
    })
}
/**
 * 验资检查
 * @param {HID} data 
 */
export function yanziCheck(data) {
    return request({
        url: '/docking.YanZi/check',
        method: 'get',
        params: data
    })
}
/**
 * 获取估价资料A
 * @param {HID} data 
 */
export function getEvaluateA(data) {
    return request({
        url: '/gjyw.base_info/get_evaluatea',
        method: 'get',
        params: data
    })
}
/**
 * 提交估价资料A
 * @param {HID} data 
 */
export function saveEvaluateA(data) {
    return request({
        url: '/gjyw.base_info/evaluate_material',
        method: 'post',
        data
    })
}
/**
 * 估价退回
 * @param {HID} data 
 */
export function houseBack(data) {
    return request({
        url: '/gjyw.base_info/house_back',
        method: 'post',
        data
    })
}
/**
 * 审核提交
 * @param {HID} data 
 */
export function houseCheckDetail(data) {
    return request({
        url: '/gjyw.base_info/house_check_detail',
        method: 'post',
        data
    })
}
//风貌建筑列表
export function styleBuilding(data) {
    return request({
        url: '/eprint.ExternalPrinting/style_building',
        method: 'get',
        params: data
    })
}

